package com.powernode.service.impl;

import com.powernode.anno.Idempotence;
import com.powernode.service.TestService;
import org.springframework.stereotype.Service;

/**
 * @Author: powernode
 */
@Service
public class TestServiceImpl implements TestService {

    @Override
    @Idempotence
    public String testBuy(Integer goodsId, Integer count) {
        // do sth..
        System.out.println("做业务操作");
        return "业务操作成功";
    }
}
